#include "TheoreticalValue.h"
#include <cmath>
using namespace std;

TheoreticalValue::TheoreticalValue()
{
}


double TheoreticalValue::D_Ek_1_ELq(double lambda, double miu, double b)
{
    double rou = lambda / miu;
    return pow(rou, b+2) / (2 * (1 - pow(rou, b)));
}

double TheoreticalValue::Ek_D_1_EWq(double lambda, double miu, double alpha)
{
    double rou = lambda / miu;
    return pow(rou, alpha) / (2 * (1 - pow(rou, alpha))) / miu;
}
